import request from '@/utils/request.js'
//提供调用注册接口的函数
export const userRegisterService = (registerData)=>{

    return request.post('/user/register',registerData);
}

//提供调用登录接口的函数
export const userLoginService = (loginData)=>{

    return request.post('/user/login',loginData);
}

//提供检查用户是否登录的函数
export const checkLoginService = ()=>{

    return request.get('/user/checkLogin');
}

